package com.ershui.blog.article.service;

import com.ershui.blog.article.domain.LCategory;

import java.util.List;
import java.util.Map;

public interface LCategoryService {
    int insert(LCategory record);

    int insertSelective(LCategory record);

    //更新类别
    void updateSelective(LCategory record);
    //批量删除类别
    void deleteCategoryById(Long id);
    //查询所有分类
    List<LCategory> selectCategorys();
    //根据类别查询关联文章个数
    Long CountArticleByCategoryId(Long id);

}
